//==============================================================================
//
// File: CServer.h
// Project: Browser
// Author(s): Matthias Van Eeghem (matthias@van-eeghem.com)
// License: See LICENSE in root directory
//
// This struct holds all data related to a specific server. Each server in the
// favorites and internet lists points to a CServer object (through the QLists stored
// in the MainWindow class).
//
//==============================================================================

#ifndef CSERVER_H
#define CSERVER_H

struct CServer
{
    // Holds the server IP
    QString m_sIP;
    // Holds the server port
    QString m_sPort;
    // Holds the server hostname
    QString m_sHostname;
    // Holds the server version
    QString m_sVersion;
    // Holds the amount of currently online players
    int m_iPlayers;
    // Holds the maximum amount of players for this server
    int m_iMaxPlayers;
};

#endif // CSERVER_H
